package com.demandbreakdown.xiyun.model.dto.space;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 空间升级DTO
 *
 * @author poxz
 */
@Data
@Schema(description = "空间升级DTO")
public class SpaceUpgradeDTO {

    @Schema(description = "空间级别：1-高级版，2-至尊版", example = "1")
    @NotNull(message = "空间级别不能为空")
    private Integer spaceLevel;

    @Schema(description = "支付订单号", example = "PAY123456789")
    @NotBlank(message = "支付订单号不能为空")
    private String payId;
}
